package org.jxc.dao;

import org.hibernate.SessionFactory;
import org.jxc.domain.OutOrder;
import org.team4.dao.GenericDAO;

public class OutOrderDAO extends GenericDAO<OutOrder> {
	private static final long serialVersionUID = 4950197358876315858L;
	private static OutOrderDAO instance;
	
	public static OutOrderDAO getInstance(SessionFactory sessionFactory) {
        if(instance == null) {
            instance =  new OutOrderDAO(sessionFactory);
        }
        return instance;
    }
	
	private OutOrderDAO(SessionFactory sessionFactory) {
		super(sessionFactory, OutOrder.class);
	}
}
